import App from './App'


// #ifndef VUE3
import Vue from 'vue'
// 引入uview
import uView from "uview-ui"
Vue.use(uView)
// 工具
import tools from 'tools/tools.js'
Vue.prototype.$tools = tools
// 请求
import apis from 'configs/apis.js'
Vue.prototype.$apis = apis
import request from 'configs/request.js'
Vue.prototype.$request = request
// 全局配置
import config from 'configs/config.js'
Vue.prototype.$config = config

Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
    ...App
})
app.$mount()
// #endif


// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif